package com.shop.user.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.entity.dto.WeChatAddress.UserAddressGetUpdateDto;
import com.shop.entity.dto.WeChatAddress.UserAddressRemoveDto;
import com.shop.entity.dto.WeChatAddress.UserAddressSaveDto;
import com.shop.entity.dto.WeChatAddress.UserAddressUpdateDto;
import com.shop.entity.pojo.Address;
import com.shop.utils.common.result.Result;


public interface AddressService extends IService<Address> {

    Result getUserAddressList();

    Result saveUserAddress(UserAddressSaveDto dto);

    Result removeUserAddress(UserAddressRemoveDto dto);

    Result getUpdateUserAddress(UserAddressGetUpdateDto dto);

    Result updateUserAddress(UserAddressUpdateDto dto);
}
